import { useDispatch } from "react-redux"
import { handlerBread } from "@/redux/actions"
import { ChromeFilled } from '@ant-design/icons';
import { useEffect } from "react";


const BreadData: breadType[] = [{
    icon: <ChromeFilled />,
    label: "组件",
    herf: ''
}]



export default function Assembly(){
    const dispatch  = useDispatch()
    useEffect(()=>{
          dispatch(handlerBread(BreadData))
    },[])
    
    return (
        <div className="assembly">
            组件
        </div>
    )
}